home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / binutils.7 / binutils / binutils-2.7 / ld / scripttempl / ebmon29k.sc < prev    next >
Encoding:
Text File  |  1996-07-04  |  382 b   |  28 lines

  1. cat <<EOF
  2. OUTPUT_FORMAT("${OUTPUT_FORMAT}")
  3. ENTRY(start)
  4.  
  5. SECTIONS {
  6.   .text ${RELOCATING+${TEXT_START_ADDR}} : 
  7.     {
  8.     *(.text);
  9.     ${RELOCATING+_etext = .};
  10.     }
  11.   data ${RELOCATING+0x80002000} :
  12.     {
  13.     *(.data);
  14.     *(.mstack); 
  15.     *(.shbss);
  16.     *(.rstack);
  17.     *(.mstack);
  18.     ${CONSTRUCTING+CONSTRUCTORS}
  19.     }
  20.   .bss  . :
  21.     { 
  22.     *(COMMON)     
  23.     *(.bss);
  24.     ${RELOCATING+_end = .};
  25.     } 
  26. }
  27. EOF
  28.